#include<stdio.h>

int main()
{

	int a = 0;
	for (a = 1; a <= 10; a++)
	{
		if (a == 5)
			continue;
		printf("%d ", a);
	}

	return 0;
}